package cn.kgc.springmvc02.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: mosin
 * @version: v1.0  2022/12/13
 */
@Controller
@RequestMapping("inter")
public class MyInterceptorController {

    @RequestMapping("int1")
    public String  method1(){
        System.out.println("---目标方法被执行---");
        return "index";
    }
}
